/*
 * 创建日期 2010-4-16
 *
 * 成都天和软件公司
 * 电话：028-85425861
 * 传真：028-85425861-8008
 * 邮编：610041 
 * 版权所有
 */
package  org.fantasy.cpp.core.html;

/**
 * Html构造器
 * @author: 王文成
 * @version: 1.0
 * @since 2010-4-16
 */
public interface QueryHtml extends Html{

	/**
	 * ITEM_ID
	 */
	String ITEM_ID = "id";

	String VALUE = "value";

	String NAME = "name";

	String CODE = "label";

	String START_NAME = "startName";

	String END_NAME = "endName";

	String CHECKED = "checked";

	String DEF_CHECKED = "defChecked";

	String DEF_VALUE = "defValue";

	String IMPORT = "import";

	String CHECKBOX = "checkbox";

	String LIKE = "like";

	String FORMAT = "format";

	String SOURCE = "source";

	String CSS_STYLE = "style";

	String CLASS_NAME = "className";

	String ITEM_TYPE = "itemType";

	String READONLY = "readonly";

	String CSS_CLASS = "cssClass";

	String AllOW_NULL = "allowNull";

	String KEY = "key";

	String KEY_TYPE = "keyType";

	String GROUP_FLAG = "groupFlag";

	String BETWEEN_FLAG = "betweenFlag";

	String START_DEF_VALUE = "startDefValue";

	String END_DEF_VALUE = "endDefValue";

	String MULTIPLE = "multiple";

	// 定义4种数据类型
	String CACHE = "cache";

	String SQL = "sql";

	String JSON = "json";

	/**
	 * 数据查询工厂
	 */
	String SOURCE_FACTORY = "sourceFactory";

	String SPAN_CLASS = "";
	
	String AUTO_QUERY = "";
	
	/**
	 * 是否是异步
	 */
	String ASYNC = "async";
	
	/**
	 * 初始ID
	 */
	String START_ID = "startId";

	/**
	 * 取得查询HTML
	 * 
	 * @return
	 * @throws Exception
	 */
	String getHtml() throws Exception;
}
